package com.su.kddq.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="queryOrder",url = "https://www.yzfpay.com")
public interface QueryOrderClient {

    @RequestMapping(value = "/api.php",method = RequestMethod.GET)
    Object queryOrderByYzf(@RequestParam(value = "act") String act,
                           @RequestParam(value = "pid") Integer pid,
                           @RequestParam(value = "key") String key,
                           @RequestParam(value = "out_trade_no") String out_trade_no);


}
